

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Testing [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Testing,Testing Support,Testing Overview">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Testing</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="risktypes.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="o1529.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_TextIndentedL1"><img src="testing1.png" width="306" height="100" border="0" alt="testing1"></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Introduction to Testing</span></p>
<p class="p_BodyText"><span class="f_BodyText">In addition to the integrated <a href="xunit_testing.htm">JUnit and NUnit testing</a> capabilities, Enterprise Architect enables you to attach arbitrarily complex tests to any model element. Keeping the model elements and the testing documentation in one integrated model significantly improves the communication between the test-team and the software developers and architects. The detailed search facilities make it easy to find failing test cases, test cases not run and tests cases that have been passed. Using the testing and search capabilities, it is easy to navigate through the model and quickly locate problem spots, design flaws and other critical issues. Enterprise Architect is not only a UML Modeling environment, it is also a complete Test Management environment.</span></p>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">Basic Tasks</span></p>
<p class="p_BodyText"><span class="f_BodyText">Simple tasks that you might perform include:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1"><a href="o1529.htm">Open the Testing Workspace</a></span></li>
<li><span class="f_Bulletlist1"><a href="testdialog.htm">Use the Test Details Dialog</a>.</span></li>
</ul>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">Categories</span></p>
<p class="p_BodyText"><span class="f_BodyText">Typically you create:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1" style="font-style: italic;"><a href="o481.htm">Unit tests</a></span><span class="f_Bulletlist1"> for things that are being built, such as Classes and components</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;"><a href="o321.htm">Integration tests</a></span><span class="f_Bulletlist1"> to test how components work together</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;"><a href="o427.htm">System tests</a></span><span class="f_Bulletlist1"> to ensure the system meets business requirements</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;"><a href="o173.htm">Acceptance tests</a></span><span class="f_Bulletlist1"> to test user satisfaction, and</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;"><a href="o402.htm">Scenario tests</a></span><span class="f_Bulletlist1"> to test the end-to-end suitability and functionality of the application.</span></li>
</ul>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">Using Tests</span></p>
<p class="p_BodyText"><span class="f_BodyText">Other tasks that you might perform when working with tests include:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1"><a href="importscenarioastest.htm">Import a Scenario as a Test</a></span></li>
<li><span class="f_Bulletlist1"><a href="move_or_copy_tests_between_typ.htm">Move or Copy Tests Between Test Types</a></span></li>
<li><span class="f_Bulletlist1"><a href="importtestfromotherelement.htm">Import a Test from Other Elements</a></span></li>
<li><span class="f_Bulletlist1"><a href="import_responsibility_or_const.htm">Import a Responsibility or Constraint as a Test</a></span></li>
<li><span class="f_Bulletlist1"><a href="create_maintenance_item_from_t.htm">Create a Maintenance Item from a Test</a></span></li>
<li><span class="f_Bulletlist1"><a href="testdetails.htm">Generate Test Details Report</a></span></li>
<li><span class="f_Bulletlist1"><a href="showtestscriptsincompartme.htm">Show Test Script Compartments</a></span></li>
<li><span class="f_Bulletlist1"><a href="testdocumentation.htm">Create Test Documentation</a>.</span></li>
</ul>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="952" bgcolor="#efeff7" style="width:952px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="952" bgcolor="#f7f7ff" style="width:952px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">Most of the tasks identified above relate to a tests for a single element. You can make a set of tests available to a number of elements by performing the above tasks on a <a href="test_case.htm">Test Case</a> element and then associating that Test Case with each of the other elements. The Test Case element also helps to make tests more visible in diagrams, the </span><span class="f_UIControl">Project Browser</span><span class="f_TiporNoteText">, windows and searches.</span></p>
</td>
</tr>
</table>
</div>




            </div>
          </div>
        </div>



</div>


</body>
</html>
